<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>视频发布</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript" src="/PHPUnion/Home/Lib/Pintuer/jquery-1.11.0.js"></script>
<link rel="stylesheet" type="text/css" href="/PHPUnion/Home/Lib/Pintuer/pintuer.css" />
<script type="text/javascript" src="/PHPUnion/Home/Lib/Pintuer/pintuer.js"></script>
<script type="text/javascript" src="/PHPUnion/Home/Lib/Pintuer/respond.js"></script>
	<script type="text/javascript" src="/PHPUnion/Home/Lib/uploadify/jquery.uploadify.min.js"></script>
<link rel="stylesheet" type="text/css" href="/PHPUnion/Home/Lib/uploadify/uploadify.css" />

	<style type="text/css">
	.Next-button{
		width:120px;
		height:30px;
	}
	.video-preView{
		width:400px;
		height:40px;
		line-height: 35px;
		margin-top:5%;
	}
	.video-player{
		width:400px;
		height:280px;
	}
	.button-width{
		width:100px;
	}
	</style>
</head>
<body>
	<div class="container-layout">
		<div class="text-right border margin-little-bottom margin-top padding-right padding-top padding-bottom">
			<button type="button" onClick="location.href='<?php echo U('show',array('cid'=> $_GET['cid']));?>'" class="button radius-none bg-sub">
				<i class="icon-th-list"></i>
				视频列表
			</button>
			<button type="button" onClick="location.href='<?php echo U('AddVideo', array('cid'=> $_GET['cid']));?>'" class="button radius-none">
				<i class="icon-edit"></i>
				添加视频
			</button>
		</div>
		<form action="<?php echo U('AddVideo');?>" class="form-auto" method="POST" enctype="multipart/form-data">
			<div class="container-layout border">
				<div class="line">
					<div class="x3 text-right padding-top padding-right">
						视频名称
					</div>
					<div class="x9 padding-small-top"><input type="text" name="title" class="input input-small" size="60" /></div>
				</div>
				<div class="line">
					<div class="x3 text-right padding-top padding-right">
						发布者名称
					</div>
					<div class="x9 padding-small-top">
						<input type="text" name="uid" value="<?php echo ($_SESSION["username"]); ?>" class="input input-small" size="60" />
					</div>
				</div>
				<div class="line">
					<div class="x3 text-right padding">
						视频简介
					</div>
					<div class="x9 padding-small-top">
						<textarea name="content" rows="8" class="input input-small" style="width:45%;"></textarea>
					</div>
				</div>
				<div class="line padding-bottom padding-top">
					<div class="x3 text-right padding"></div>
					<div class="x9 padding-small-top">
						<button type="submit" class="button bg-sub radius-none button-width">下一步</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
</html>